package com.minivision.fdiot.rest.param.detect;

import org.springframework.web.multipart.MultipartFile;

import com.minivision.fdiot.common.AuthParam;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class DetectParam extends AuthParam {

	private static final long serialVersionUID = -292864702752714956L;
	
	@ApiModelProperty(value = "人脸照片链接")
	private String imageUrl;
	
	@ApiModelProperty(value = "人脸照片文件")
	private MultipartFile imageFile;
	
	@ApiModelProperty(value = "是否返回人脸属性")
	private boolean faceAttributes;

    @Override
    public String toString() {
      return "DetectParam [imageUrl=" + imageUrl + ", imageFile=" + imageFile.getOriginalFilename()
        + ", faceAttributes=" + faceAttributes + "]";
    }

}
